package com.ce.webframework.sec.model;

import java.io.Serializable;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import com.sitechasia.webx.core.model.IDomainObject;

public class RoleDO implements IDomainObject, Serializable {

	private Long id;

	private String description;

	private Integer level;

	private String parentId;

	private String code;

	private String name;

	private String levelRelation;

	private Long epId;

	private Date modifyTime;

	private String modifyMan;

	private Set<SecUserinfoDO> users = new HashSet<SecUserinfoDO>();

	public String getCode() {
		return code;
	}

	public Set<SecUserinfoDO> getUsers() {
		return users;
	}

	public void setUsers(Set<SecUserinfoDO> users) {
		this.users = users;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Long getEpId() {
		return epId;
	}

	public void setEpId(Long epId) {
		this.epId = epId;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public String getLevelRelation() {
		return levelRelation;
	}

	public void setLevelRelation(String levelRelation) {
		this.levelRelation = levelRelation;
	}

	public String getModifyMan() {
		return modifyMan;
	}

	public void setModifyMan(String modifyMan) {
		this.modifyMan = modifyMan;
	}

	public Date getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

}
